/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dotexe.webframework.core.triggers;

/**
 *
 * @author jovan.tomasevic
 */
public class TriggerCollection extends java.util.ArrayList<Trigger> {
    public Trigger get(String triggerName){
        for(int i =0; i< this.size();i++){
            if(this.get(i).getName().equals(triggerName))
                return this.get(i);
        }
        return null;
    }
}
